package com.itheima.common;

public class AuthThreadLocal {
    public static ThreadLocal<String> auth = new ThreadLocal<>();


    public static ThreadLocal<String> amount = new ThreadLocal<>();

    public static String getAuth() {
        return auth.get();
    }

    public static void setAuth(String value) {
        auth.set(value);
    }

    public static void remove() {
        auth.remove();
    }

    public static String getAmount() {
        return amount.get();
    }

    public static void setAmount(String value) {
        amount.set(value);
    }

    public static void removeAmount() {
        amount.remove();
    }

}
